<!DOCTYPE html>
<html lang="en">
<head>
<title>Google Maps Library: GMLib.Classes: Class TGMInterfacedCollectionItem</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.15.0">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">

<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<h2><a href="index.html">Google Maps Library</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li><li><a href="GVUses.png">Unit dependency graph</a></li><li><a href="GVClasses.png">Classes hierarchy graph</a></li><li><form class="search-form" action="_tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input" pattern=".{3,}" title="At least 3 characters" required><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></div></form>
<div style="clear: both"></div>
</li></ul></div><div class="content">
<table class="container">
<tr>
<td><i><a href="http://www.cadetill.com" target="_blank">cadetill's blog</a></i></td>
<td align ="right"><i>Copyright &copy; Xavier Mart&iacute;nez (cadetill)</i></td>
</tr>
</table>
<hr noshade="" size="1">
<span id="TGMInterfacedCollectionItem"></span><h1 class="cio">Class TGMInterfacedCollectionItem</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section">Fields</div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section"><a class="section" href="#PasDoc-Properties">Properties</a></div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="GMLib.Classes.html">GMLib.Classes</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TGMInterfacedCollectionItem = class(TCollectionItem, <a class="normal" href="GMLib.Classes.IGMToStr.html">IGMToStr</a>, <a class="normal" href="GMLib.Classes.IGMOwnerLang.html">IGMOwnerLang</a>, <a class="normal" href="GMLib.Classes.IGMAPIUrl.html">IGMAPIUrl</a>)</code></p>
<h2 class="description">Description</h2>
<p>
Base class for all classes that inherit from <code>TCollectionItem</code> into GMLib.</p>
<p>


<p>Implements <code><a class="normal" href="GMLib.Classes.IGMAPIUrl.html">IGMAPIUrl</a></code>, <code><a class="normal" href="GMLib.Classes.IGMOwnerLang.html">IGMOwnerLang</a></code> and <code></code>(<a class="normal" href="GMLib.Classes.IGMAPIUrl.html">IGMAPIUrl</a> interfaces. </p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="ancestor">TPersistent</li>
<li class="ancestor">TCollectionItem</li>
<li class="thisitem">TGMInterfacedCollectionItem</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.Classes.TGMInterfacedCollectionItem.html#GetDisplayName">GetDisplayName</a></strong>: string; override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.Classes.TGMInterfacedCollectionItem.html#GetOwnerLang">GetOwnerLang</a></strong>: <a href="GMLib.Sets.html#TGMLang">TGMLang</a>; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.Classes.TGMInterfacedCollectionItem.html#PropToString">PropToString</a></strong>: string; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.Classes.TGMInterfacedCollectionItem.html#Assign">Assign</a></strong>(Source: TPersistent); override;</code></td>
</tr>
</table>
<span id="PasDoc-Properties"></span><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="GMLib.Classes.TGMInterfacedCollectionItem.html#APIUrl">APIUrl</a></strong>: string read GetAPIUrl;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="GMLib.Classes.TGMInterfacedCollectionItem.html#FObject">FObject</a></strong>: TObject read FFObject write FFObject;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="GMLib.Classes.TGMInterfacedCollectionItem.html#Name">Name</a></strong>: string read FName write FName;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>property <strong><a href="GMLib.Classes.TGMInterfacedCollectionItem.html#OnChange">OnChange</a></strong>: TNotifyEvent read FOnChange write FOnChange;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="GMLib.Classes.TGMInterfacedCollectionItem.html#Tag">Tag</a></strong>: Integer read FTag write FTag default 0;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetDisplayName"></span><code>function <strong>GetDisplayName</strong>: string; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns the name of the collection item as it appears in the collection editor. See Delphi documentation for more details.

<p> </p>
<h6 class="description_section">Returns</h6>
<p class="return">String with the name</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetOwnerLang"></span><code>function <strong>GetOwnerLang</strong>: <a href="GMLib.Sets.html#TGMLang">TGMLang</a>; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns the <a class="normal" href="GMLib.Sets.html#TGMLang">TGMLang</a> of the Owner.</p>
<p>


<p>If Owner is not assigned or not supports <a class="normal" href="GMLib.Classes.IGMOwnerLang.html">IGMOwnerLang</a> interface then should be returned <code>lnEnglish</code>.

<p> </p>
<h6 class="description_section">Returns</h6>
<p class="return"><a class="normal" href="GMLib.Sets.html#TGMLang">TGMLang</a> of the owner object.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="PropToString"></span><code>function <strong>PropToString</strong>: string; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Converts all class properties values to a string separated by comma used to send values to a JavaScript function.

<p></p>
<h6 class="description_section">Returns</h6>
<p class="return">string with all properties.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Assign"></span><code>procedure <strong>Assign</strong>(Source: TPersistent); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Call <code>Assign</code> to copy the properties or other attributes form an object to another.</p>
<p>


<p>The standard form of a call to <code>Assign</code> method is <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>Destination.Assign(Source);</code> <br> which tells the <code>Destination</code> object to copy the contents of the <code>Source</code> object to itself.

<p> </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Source</dt>
<dd>Object to copy the content.</dd>
</dl>
</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="APIUrl"></span><code>property <strong>APIUrl</strong>: string read GetAPIUrl;</code></td>
</tr>
<tr><td colspan="2">
<p>
URL to Google Maps API page. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="FObject"></span><code>property <strong>FObject</strong>: TObject read FFObject write FFObject;</code></td>
</tr>
<tr><td colspan="2">
<p>
Represents an object that is associated with the item. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="Name"></span><code>property <strong>Name</strong>: string read FName write FName;</code></td>
</tr>
<tr><td colspan="2">
<p>
Name to display into the TCollectionItemList. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="OnChange"></span><code>property <strong>OnChange</strong>: TNotifyEvent read FOnChange write FOnChange;</code></td>
</tr>
<tr><td colspan="2">
<p>
Event triggered when a property changes. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="Tag"></span><code>property <strong>Tag</strong>: Integer read FTag write FTag default 0;</code></td>
</tr>
<tr><td colspan="2">
<p>
Tag property has no predefined meaning. It can store any additional integer value for the convenience of developers. </p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://github.com/pasdoc/pasdoc/wiki">PasDoc 0.15.0</a>. </em>
</span>
</div></div></body></html>
